package com.shuwen.gcdj.mapper.mysql;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shuwen.gcdj.bean.structure.response.StrategyInspectionItemResp;
import com.shuwen.gcdj.bean.structure.response.ThirdStructurePageResp;
import com.shuwen.gcdj.entity.StrategyInspectionitem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author :yys
 * @date : 2023/5/12 9:45
 */
@Mapper
public interface StrategyInspectionitemMapper extends BaseMapper<StrategyInspectionitem> {
    /**
     * 获取三级结构分页信息
     * @param page
     * @param strings
     * @return
     */
    IPage<ThirdStructurePageResp> getPage(Page<ThirdStructurePageResp> page,@Param("ids") List<String> strings,@Param("resultName")String resultName,@Param("methodName")String methodName);

    List<StrategyInspectionItemResp> getListIds(@Param("ids") List<String> ids);

    List<ThirdStructurePageResp> getThirdStructure(@Param("ids") List<String> strings,@Param("resultName") String resultName, @Param("methodName")String methodName);
}
